package com.yisu.auction.api.domain.vo.systemPackageVos;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * author: 黄萧林
 * Business Description：
 * createTime：2017/9/2
 */
public class SystemNoticeVo {
    private String createDate;
    private String contentAbstract;
    private String content;
    private Long id;
    private String title;

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.createDate = simpleDateFormat.format(createDate);
    }

    public String getContentAbstract() {
        return contentAbstract;
    }

    public void setContentAbstract(String contentAbstract) {
        this.contentAbstract = contentAbstract;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "SystemNoticeVo{" +
                "createDate='" + createDate + '\'' +
                ", contentAbstract='" + contentAbstract + '\'' +
                ", content='" + content + '\'' +
                ", id=" + id +
                ", title='" + title + '\'' +
                '}';
    }
}
